
class TagsTagLib {

  static namespace = "gp"

  def tagLinks = {attrs, body ->
    attrs.tags.each { tag ->
      out << g.link(controller:'post', action:'listByTag', id:tag.name){tag.name}
      out << ' '
    }
  }
}